<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
	<Source>
		<Name>mocp</Name>
		<Homepage>http://moc.daper.net/</Homepage>
		<Packager>
			<Name>fury</Name>
			<Email>uglyside@yandex.ru</Email>
		</Packager>
		<License>GPL-2</License>
		<IsA>app:console</IsA>
		<PartOf>multimedia.sound</PartOf>
		<Summary>Music On Console Player.</Summary>
		<Description>MOC (music on console) is a console audio player for Linux/Unix designed to be powerful and easy to use.</Description>
		<Archive sha1sum="e5297f77d6d946d345b317fe7635ff74618e46f9" type="zip">
			https://codeload.github.com/jonsafari/mocp/zip/638e6b8bd14497c65c2af2ca9bf90d55d5d5f817
		</Archive>
		<BuildDependencies>
			<Dependency>intltool</Dependency>
			<Dependency>db-devel</Dependency>
			<Dependency>popt-devel</Dependency>
			<Dependency>curl-devel</Dependency>
			<Dependency>flac-devel</Dependency>
			<Dependency>icu4c-devel</Dependency>
			<Dependency>faad2-devel</Dependency>
			<Dependency>speex-devel</Dependency>
			<!-- <Dependency>ffmpeg-devel</Dependency> -->
			<Dependency>libmad-devel</Dependency>
			<Dependency>taglib-devel</Dependency>
			<Dependency>gettext-devel</Dependency>
			<Dependency>wavpack-devel</Dependency>
			<Dependency>ncurses-devel</Dependency>
			<Dependency>alsa-lib-devel</Dependency>
			<Dependency>libvorbis-devel</Dependency>
			<Dependency>libid3tag-devel</Dependency>
			<Dependency>libmpcdec-devel</Dependency>
			<Dependency>libsndfile-devel</Dependency>
			<Dependency>libmodplug-devel</Dependency>
			<Dependency>libsamplerate-devel</Dependency>
			<Dependency>pulseaudio-libs-devel</Dependency>
			<Dependency>jack-audio-connection-kit-devel</Dependency>
		</BuildDependencies>
		<Patches>
			<Patch level="1">pulseaudio.patch</Patch>
			<!-- <Patch level="1">ffmpeg6.patch</Patch> -->
			<Patch level="1">Fix_buffer_overflow.patch</Patch>
			<Patch level="1">https.patch</Patch>
		</Patches>
	</Source>

	<Package>
		<Name>mocp</Name>
		<RuntimeDependencies>
			<Dependency>db</Dependency>
			<Dependency>curl</Dependency>
			<Dependency>file</Dependency>
			<Dependency>flac</Dependency>
			<Dependency>popt</Dependency>
			<Dependency>zlib</Dependency>
			<Dependency>faad2</Dependency>
			<Dependency>speex</Dependency>
			<!-- <Dependency>ffmpeg</Dependency> -->
			<Dependency>libmad</Dependency>
			<Dependency>libogg</Dependency>
			<Dependency>taglib</Dependency>
			<Dependency>ncurses</Dependency>
			<Dependency>wavpack</Dependency>
			<Dependency>alsa-lib</Dependency>
			<Dependency>libid3tag</Dependency>
			<Dependency>libmpcdec</Dependency>
			<Dependency>libvorbis</Dependency>
			<Dependency>libmodplug</Dependency>
			<Dependency>libsndfile</Dependency>
			<Dependency>libtool-ltdl</Dependency>
			<Dependency>libsamplerate</Dependency>
			<Dependency>pulseaudio-libs</Dependency>
			<Dependency>jack-audio-connection-kit</Dependency>
		</RuntimeDependencies>
		<Files>
			<Path fileType="executable">/usr/bin</Path>
			<Path fileType="library">/usr/lib</Path>
			<Path fileType="data">/usr/share</Path>
			<Path fileType="man">/usr/share/man/man1</Path>
			<Path fileType="doc">/usr/share/doc</Path>
		</Files>
	</Package>

	<History>
		<Update release="1">
			<Date>2023-04-01</Date>
			<Version>2.6_alpha3</Version>
			<Comment>First build.</Comment>
			<Name>fury</Name>
			<Email>uglyside@yandex.ru</Email>
		</Update>
	</History>
</PISI>
